 

package com.zdkj.subway.stm.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.stm.dvo.SwStCheckDetailsDvo;
import com.zdkj.subway.stm.dvo.SwStReportqueryStationincomeExcelDvo;
import com.zdkj.subway.stm.entity.SwStReportqueryStationincome;

/**
 * 车站营收日报表查询'
 * @author
 * @date 2020-12-29
 */
public interface SwStReportqueryStationincomeService extends IService<SwStReportqueryStationincome> {

	public List<String> handleRangeDate(String startDateStr, String endDateStr);
	/**
	导出车站营收日报表
	@param swStReportqueryStationincomeExcelDvo 营收日表对象
	@param response 返回请求体
	*/
	public void exportByPageContent(SwStReportqueryStationincomeExcelDvo swStReportqueryStationincomeExcelDvo, HttpServletResponse response);
	/**
	 车站营收日报表按日期范围导出
	@param swStReportqueryStationincomeExcelDvo 营收日表对象
	@param response 返回请求体
	*/
	public void exportByPageContentForCycle(SwStReportqueryStationincomeExcelDvo swStReportqueryStationincomeExcelDvo, HttpServletResponse response);
	/*
	 * 
	 * 定时任务自动统计车站营收日报表数据
	 * @param  dateTime: 统计日期，yyyy-MM-dd ,默认统计前一天数据
	 * @return 列表
	 */
	public List<SwStReportqueryStationincome> calcStationIncomeDailyReport(String dateTime);

	public List<SwStReportqueryStationincome> incomeDailyReport(String lineCodes,String dateTime);

	/**
	 * 车站TVM钱箱清点记录表
	 * @param swStCheckDetailsDvo  收益日期 yyyy-MM-dd
	 * @return R
	 */
    List<SwStCheckDetailsDvo> getswStCheckDetails(SwStCheckDetailsDvo swStCheckDetailsDvo);
	/**
	 * 获取结算周期
	 * @param swStCheckDetailsDvo
	 * @return R
	 */
	List<Map<String, Object>> getswStCheckCkData(SwStCheckDetailsDvo swStCheckDetailsDvo);

	public void exportCheckDetails(SwStCheckDetailsDvo swStCheckDetailsDvo, HttpServletResponse response);
}